package Demo2;

import Demo1.Test1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 涛
 * Date: 2023-08-02
 * Time: 11:26
 */
public class Test2 extends Test1 {
    public void func() {
        System.out.println(super.a);
    }
    public static void main(String[] args) {
        Test2 test = new Test2();
        test.func();
    }
}
